package com.zking.mapper;

import com.zking.entity.Cart;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface CartMapper extends Mapper<Cart> {

        List<Cart> selectCartUserName(String username);

        List<String> selectCartName(String name);

        void updateCartNumber(int number,String id);

        void updateCartState(int state, String id);

        Cart selectCartid(String id);
}
